package com.zhou.system.management.model.ao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author xianfeng
 * @date 2023/5/22 23:01
 */
@Data
public class SysPostUpdateAo {

    @NotNull
    @ApiModelProperty(value = "岗位ID", position = 1)
    @JsonProperty(index = 1)
    @TableId(value = "post_id", type = IdType.AUTO)
    private Long postId;

    @ApiModelProperty(value = "岗位编码", position = 2)
    @JsonProperty(index = 2)
    private String postCode;

    @ApiModelProperty(value = "岗位名称", position = 3)
    @JsonProperty(index = 3)
    private String postName;

    @ApiModelProperty(value = "显示顺序", position = 4)
    @JsonProperty(index = 4)
    private Integer postSort;

    @ApiModelProperty(value = "状态（0正常;1停用）", position = 5)
    @JsonProperty(index = 5)
    private Integer status;
}
